def delbylen(s):
    return len(s) > 1


li = ["a", "python", "java", "c", "a"]
print(list(filter(delbylen, li)))

print(list(filter(lambda x: len(x) > 1, li)))

print(list(st for st in li if len(st) > 1))
